SGGetFrameRate
TheSGGetFrameRate
function allows you to retrieve a video channel's frame rate for recording.
pascal ComponentResult SGGetFrameRate (SGChannel c, Fixed *frameRate);
c
- Identifies the channel for this operation. You provide your
connection identifier. You connect to a channel component by calling theSGNewChannel
orSGNewChannelFromComponent
function, discussed on page 5-29 and page 5-30, respectively.frameRate
- Contains a pointer to a field to receive the current frame rate. The sequence grabber returns the channel's current frame rate.
DESCRIPTION
TheSGGetFrameRate
function returns the channel's current rate. By default, the channel records at the fastest rate it can support. In this case, the channel sets the field referred to by theframeRate
parameter to 0.SEE ALSO
You can set a channel's frame rate by calling theSGSetFrameRate
function, which is described in the previous section.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help